import httpInstance from '@/utils/http'


// 登录接口
export const loginAPI = ({ account, password })=>{
  return httpInstance({
    url:'/login',
    method:'POST',
    data:{
      account,
      password
    }
  })
}
export const getLikeListAPI = ({ limit = 4 }) => {
  return httpInstance({
    url: '/goods/relevant',
    params: {
      limit
    }
  })
}